package com.jt.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.stereotype.Component;

/**
 * @author SWJ
 * @create 2021-07-22 9:38
 */
@Data
@Accessors(chain = true)
@NoArgsConstructor//无参构造
@AllArgsConstructor//全参构造
/**设置Date注解get/set
 * 使用Ctrl+O*/
public class User {
    private Integer id;
    private String name;

//    public User setId(Integer id) {
//        this.id = id;
//        return this;
//    }
//
//    public User setName(String name) {
//        this.name = name;
//        return this;
//    }

    
}
